package com.showcai.service;

import com.github.pagehelper.PageInfo;
import com.showcai.module.MediaClassify;
import com.showcai.myRunTime.MyRunTimeExcption;

import java.util.List;
import java.util.Map;

/**
 * Created by Baggio on 2018-9-11.
 */
public interface MediaClassifyService {
    List<MediaClassify> getMediaClassify(Map<String,String> map)throws MyRunTimeExcption;
    PageInfo selectMediaClassifyList(Map<String,String> map)throws MyRunTimeExcption;
    void modifyMediaClassify(MediaClassify mediaClassify)throws MyRunTimeExcption;
    MediaClassify selectMediaClassifyByTid(Map<String,String> map)throws MyRunTimeExcption;

    List<MediaClassify> getMediaClassifyTree(Long parentId)throws MyRunTimeExcption;
}
